package com.szpx.entity;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "chw_fillm_mage")
public class MovieFdBean {

    @Id
    @KeySql(useGeneratedKeys = true)

    private Integer id;

    private String fname;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date uptime;

    private  String type;
    public Integer getId() {
        return id;
    }

    public String getFname() {return fname;}

    public String getType() {
        return type;
    }

    public Date getUptime() {
        return uptime;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public void setFname(String fname) {
        this.fname = fname;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setUptime(Date uptime) {
        this.uptime = uptime;
    }

    @Override
    public String toString() {
        return "Film{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", fname='" + fname + '\'' +
                ", uptimp=" + uptime +
                '}';
    }


//更改新推送
}
